package com.sls.mall.authserver;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.web.bind.annotation.Mapping;

@EnableRedisHttpSession  // 整合redis作为session 存储
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = "com.sls.mall.authserver.feign")
//@MapperScan(basePackages = "com.sls.mall.authserver.dao")
public class MallAuthServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(MallAuthServerApplication.class, args);
	}

}
